package com.project.bean.DisasterPrevention;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.List;

//区域实体
@TableName("region_info")
public class RegionBean {


    @TableId(value = "region_id",type = IdType.AUTO)
    private Integer regionId;	//区域编号
    @TableField("region_name")
    private String regionName;	//区域名称
    @TableField("region_forest")
    private String regionForest;	//区域林种
    @TableField("region_tree")
    private String regionTree;	//区域优势树种
    @TableField("region_type")
    private String regionType;	//区域地类

    @TableField(exist = false)

    private ClassBean classBean; //小班实体


    public RegionBean() {
    }

    public RegionBean(String regionName, String regionForest, String regionTree, String regionType, ClassBean classBean) {
        this.regionName = regionName;
        this.regionForest = regionForest;
        this.regionTree = regionTree;
        this.regionType = regionType;
        this.classBean = classBean;
    }

    public RegionBean(Integer regionId, String regionName, String regionForest, String regionTree, String regionType, ClassBean classBean) {
        this.regionId = regionId;
        this.regionName = regionName;
        this.regionForest = regionForest;
        this.regionTree = regionTree;
        this.regionType = regionType;
        this.classBean = classBean;
    }

    public RegionBean(String regionName, String regionForest, String regionTree, String regionType) {
        this.regionName = regionName;
        this.regionForest = regionForest;
        this.regionTree = regionTree;
        this.regionType = regionType;
    }


    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getRegionForest() {
        return regionForest;
    }

    public void setRegionForest(String regionForest) {
        this.regionForest = regionForest;
    }

    public String getRegionTree() {
        return regionTree;
    }

    public void setRegionTree(String regionTree) {
        this.regionTree = regionTree;
    }

    public String getRegionType() {
        return regionType;
    }

    public void setRegionType(String regionType) {
        this.regionType = regionType;
    }

    public ClassBean getClassBean() {
        return classBean;
    }

    public void setClassBean(ClassBean classBean) {
        this.classBean = classBean;
    }


    @Override
    public String toString() {
        return "RegionBean{" +
                "regionId=" + regionId +
                ", regionName='" + regionName + '\'' +
                ", regionForest='" + regionForest + '\'' +
                ", regionTree='" + regionTree + '\'' +
                ", regionType='" + regionType + '\'' +
                ", classBean=" + classBean +
                '}';
    }
}
